package newfeature.jdk10;

import java.util.List;

/**
 * Created by dl
 */
public class VarTypeInference {
	public static void main(String[] args) {
		var s="hello, it's me";		// String
		var var="hello, it's me";
		var n=10;	// int
		var w=1.3;

		var list= List.of("a", "b");		// List<String>

		for(var e:list){
			System.out.println(e);
		}


	}
}
